package com.xh.demo;


import com.xh.demo.client.HelloService;
import com.xh.demo.util.RpcFramework;

public class RpcConsumer {
    public static void main(String[] args) throws Exception {
        HelloService service = RpcFramework.refer(HelloService.class, "127.0.0.1", 1234);
        String hello = service.say("Rpc Hellow World!!!");
        System.out.println(hello);
    }
}